|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
ファイルへのアクセスを提供するカードサービスインタフェースです .
| メソッドの概要 | |
void |
appendRecord(FilePath file,
byte[] data)
ファイルに、レコードを追加します . |
boolean |
exists(FilePath file)
ファイルが、存在するか確認します . |
FileInfo |
getFileInfo(FilePath file)
ファイルの構成情報を取得します . |
FilePath |
getRoot()
ルートファイルのパスを取得します . |
byte[] |
read(FilePath file,
int offset,
int length)
ファイルを読み込みます . |
byte[] |
readRecord(FilePath file)
カレントレコードを、読み込みます . |
byte[] |
readRecord(FilePath file,
int number)
レコード番号を指定して、レコードを読み込みます . |
byte[][] |
readRecords(FilePath file,
int count)
カレントレコードを先頭に、複数のレコードを読み込みます . |
byte[][] |
readRecords(FilePath file,
int number,
int count)
先頭のレコード番号を指定して、複数のレコードを読み込みます . |
void |
write(FilePath file,
int offset,
byte[] data)
ファイルに、データを書き込みます . |
void |
writeRecord(FilePath file,
byte[] data)
カレントレコードに、データを書き込みます . |
void |
writeRecord(FilePath file,
int number,
byte[] data)
レコードに、データを書き込みます . |
| インタフェース jp.co.ricoh.dsdk.scard.option.security.CHVCallbackService から継承したメソッド |
setCallback |
| インタフェース jp.co.ricoh.dsdk.scard.option.security.SecureService から継承したメソッド |
provideCredentials |
| メソッドの詳細 |
public void appendRecord(FilePath file,
byte[] data)
throws VerificationException,
CardServiceException
file - ファイルのパス
.data - 追加するレコード
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationException
public boolean exists(FilePath file)
throws CardServiceException
file - ファイルのパス
.
CardServiceException - 処理中に、エラーが発生した場合
.
public FileInfo getFileInfo(FilePath file)
throws VerificationException,
CardServiceException
file - ファイルのパス
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationExceptionpublic FilePath getRoot()
public byte[] read(FilePath file,
int offset,
int length)
throws VerificationException,
CardServiceException
file - ファイルのパス
.offset - 読込みを開始する位置
.length - 読込む長さ
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationException
public byte[] readRecord(FilePath file)
throws VerificationException,
CardServiceException
file - ファイルのパス
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationException
public byte[][] readRecords(FilePath file,
int count)
throws VerificationException,
CardServiceException
file - ファイルのパス
.count - 読み込むレコード数
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationException
public byte[] readRecord(FilePath file,
int number)
throws VerificationException,
CardServiceException
file - ファイルのパス
.number - レコード番号
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationException
public byte[][] readRecords(FilePath file,
int number,
int count)
throws VerificationException,
CardServiceException
file - ファイルのパス
.number - レコード番号
.count - 読み込むレコード数
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationException
public void write(FilePath file,
int offset,
byte[] data)
throws VerificationException,
CardServiceException
file - ファイルのパス
.offset - 書き込みを、開始する位置
.data - 書き込むデータ
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationException
public void writeRecord(FilePath file,
byte[] data)
throws VerificationException,
CardServiceException
file - ファイルのパス
.data - 書き込むデータ
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationException
public void writeRecord(FilePath file,
int number,
byte[] data)
throws VerificationException,
CardServiceException
file - ファイルのパス
.number - レコード番号
.data - 書き込むデータ
.
VerificationException - 認証に失敗した場合、VerificationExceptionを継承したクラスが、スローされます
.
CardServiceException - 処理中に、エラーが発生した場合
.VerificationException
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||